home *** CD-ROM | disk | FTP | other *** search
/ La Traviata / La Traviata.iso / viewer / vpic50.zip / CONFIG.DOC < prev    next >
Text File  |  1992-06-09  |  10KB  |  170 lines

  1.  
  2.     CONFIGURING VPIC
  3.  
  4.     VPIC must be configured to run correctly with your display board.  The  con-
  5.     figuration process tells VPIC:
  6.     1. The title you want for the menu.
  7.     2. What VGA chip you have, so it can use the proper bank switching routine.
  8.     3. How much memory you have (in 64K banks).
  9.     4. The menu color you want (background:foreground).
  10.     5. How to set the various modes you want to use.
  11.  
  12.     This method is used instead of trying to autodetect the VGA chip and  memory
  13.     because:
  14.     1. Some chips are very hard to detect, and memory on board is even harder.
  15.     2. As new VGA chips are released, there is a delay before the detection is
  16.        implemented in the program.
  17.     3. The WHICHVGA program is provided to autodetect the VGA chip and memory,
  18.        but it fails on some chips.
  19.     4. The config file provides more user control than automatic means.
  20.  
  21.     If you aren't sure which VGA chip your board uses,  you  can  run  WHICHVGA,
  22.     which will try to identify your VGA chip and the amount of memory you  have.
  23.     Also check for a list of some of the VGA boards each  chip  was used  on. If
  24.     this doesn't work, you can remove the display board and look  at  the  label
  25.     on the large chip with leads coming out all four sides. Sometimes,  you  can
  26.     tell without removing the board by using DEBUG (or Turbo Debugger, Codeview,
  27.     or any debugger) and 'dumping' the contents of display  BIOS.  To  do  this,
  28.     enter DEBUG at the DOS prompt and you  will  get  a  -  prompt.  Then  enter
  29.     dC000:0 to display the first part of display BIOS. To  dump  more  of  BIOS,
  30.     juts enter d. You may recognize the chip manufacturers name  here,  such  as
  31.     ATI, Trident, Tseng, Paradise, etc. To exit DEBUG, just enter q.
  32.  
  33.     If WHICHVGA comes back with VESA, that means that your  board  supports  the
  34.     VESA standard, which offers a standard interface for VPIC to  your  SuperVGA
  35.     display adapter. It defines the SuperVGA extended modes that your card  will
  36.     do, and has a standard interface for setting the mode  and  bank  switching,
  37.     etc. You  may  have  received  a  VESA  `Terminate and Stay Resident'  (TSR)
  38.     program with your VGA board. If so, you are encouraged to use it,  since  it
  39.     more or less guarantees that VPIC will work with your display card. The only
  40.     disadvantage of VESA is concerned with scrolling the VGA screen, since there
  41.     is no standard interface for setting the top of screen beyond 16 bits  (line
  42.     81 at 800x600x256, line 102 at 640x480x256, or  line  204  at  320x200x256).
  43.     This version of VPIC automatically reads the VESA  info  from  your  display
  44.     BIOS, and uses the VESA interface. If you enter VPIC  with  the  /v  option,
  45.     VESA info is ignored and VPIC uses the  configuration  file  info;  this  is
  46.     helpful when VESA returns info VPIC isn't expecting or no  info  on  certain
  47.     modes.
  48.  
  49.  
  50.  
  51.  
  52.     The current VPIC config file VGA chips and the VGA chip manufacturers are:
  53.     VGA Chip    Manufacturer/version        Comments
  54.     =================================================================
  55.     AHEADA     Ahead ver A             Older Ahead cards.
  56.     AHEADB     Ahead ver B             Ahead VGA Wizard/Deluxe.
  57.     ATIOLD     ATI, 1024x768x16 mode 65h   ATI ver 1 chip, VGAWonder.
  58.     ATINEW     ATI, 1024x768x16 mode 55h   ATI ver 2 up chip, VGAWonder+.
  59.     CIRRUS     Cirrus CL-GD 500/600    MaxLogic MaxVGA boards NOT SUPPORTED YET.
  60.     CHIPSTECH  Chips & Technology 82C452   Cardinal, Older Boca.
  61.     EVEREX     Original Everex chip
  62.     EVBIOS     Everex 673, etc         Has bank switching built into BIOS.
  63.     GENOA      Genoa (Sim ET 3000)     5300/6300 = 256K, others = 512K.
  64.     HEADLAND   Headland HT-208         Used on VGA-1024i.
  65.     NCR        NCR                     Boca, PVGA 1024i, etc
  66.     OAK        Oak
  67.     PARADISE   Paradise                Older Paradise cards.
  68.     REALTEK    Realtek                 Used in RTVGA boards.
  69.     S3         S3 GUI Accelerator      Used on Orchid Fahr 1280, Diamond Stealth
  70.     TRI88BR    Trident TVGA 8800BR     Used on older Trident boards, 128K banks.
  71.     TRI88CS    Trident TVGA 8800CS     Used on older Trident boards (Maxxon)
  72.     TRI89      Trident TVGA 8900       Latest Trident VGA chip, 1M memory avail.
  73.     TS3000     Tseng ET 3000           Used on early Genoa, Orchid, others.
  74.     TS4000     Tseng ET 4000           Recent Orchid, STB, other, 1M memory.
  75.     TS4000HI   Tseng ET 4000 HiColor   Does 32K colors to 800x600, 1M memory.
  76.     WD90C      Western Digital WD90C00  Recent Paradise cards, same operation.
  77.     VIDEO7     Video 7                 Earlier Video 7 boards, BIOS bank switch.
  78.     ZYMOS      Zymos Poach 51          True Tech HiRes and others.
  79.     VESA       VESA Standard           For boards which have VESA in BIOS.
  80.  
  81.     As new chips become available, they will be added to this list. Run WHICHVGA
  82.     to find your VGA chip (works most of the time), and then run CONFIG and find
  83.     a CFG file using that VGA chip. Check that the modes agree with the graphics
  84.     modes in your manual (16 and 256 color modes only); if they match your  card
  85.     exactly, use that CFG file by pressing ENTER. If not, copy the closest  file
  86.     to a new filename with extension CFG and change the modes to agree with your
  87.     manual. Make the title and menu color whatever you like  (see  CONFIGURATION
  88.     FILE FORMAT). Then  rerun  CONFIG,  pick  that  file,  and  press  ENTER  to
  89.     configure VPIC. There are numerous configuration files which come with VPIC,
  90.     but there are so many boards out there that I can't list all of them.
  91.  
  92.     MENU CONFIGURATION
  93.     To configure VPIC, make sure that VPIC, CVPIC,  CONFIG,  and  all  the  .CFG
  94.     files are in the current directory. By running the CONFIG program, VPIC  can
  95.     be configured from a menu. CONFIG lists all the configuration files (with  a
  96.     .cfg extension) in the current directory, and shows you the contents of each
  97.     as you move around the list using the cursor keys. ESCape aborts the  CONFIG
  98.     program without changing VPIC, and ENTER configures VPIC for the highlighted
  99.     file. Pressing a letter key jumps to next filename starting with that letter
  100.     (or number).
  101.  
  102.     MANUAL CONFIGURATION
  103.     You can use CVPIC to configure VPIC manually by entering:
  104.          CVPIC config_file[.ext]
  105.     where the default extension is .cfg and  config_file  is  the  configuration
  106.     file you want to use.
  107.  
  108.  
  109.  
  110.  
  111.     CONFIGURATION FILE (.CFG) FORMAT
  112.     CVPIC ignores leading spaces and blank lines in the file, and all characters
  113.     after a semicolon are considered comments and ignored. The .CFG file contains
  114.     the following lines, which can be up to 150 characters in length each:
  115.  
  116.         1. Board name, which will appear in the VPIC menu. This is user  define-
  117.            able, and could be something like 'Joe's VGA Board'.
  118.  
  119.         2. VGA CHIP should be one of the names supported  by  VPIC;  see  above.
  120.            Upper or lower case is OK.
  121.  
  122.         3. The number of 64K banks of display ram usable  for  pictures  (1  for
  123.            standard VGA (no extended modes), 4 for 256K, 8 for 512K, 16 for 1M).
  124.  
  125.         4. Menu text color. A number whose value is  background*16 + foreground.
  126.            The allowable background colors are  0  thru  7,  and  the  allowable
  127.            foreground colors are 0 thru 15. This number is easiest to figure  if
  128.            entered in hex (prefixed by 0x); then the 1st digit is the background
  129.            color (0-7) and the 2nd digit is  the  foreground  color  (0-F).  The
  130.            digits correspond to black (0), blue (1),  green (2),  aqua (3),  red
  131.            (4), violet (5), brown (6), and white (7), and  the  digits  8-F  are
  132.            intensified versions of the 0-7. For example, 0x3E would tell VPIC to
  133.            use bright yellow text on an aqua background. CONFIG gives the  value
  134.            in hex, and the corresponding foreground-background colors.
  135.  
  136.         5 thru n. The following lines describe the modes supported by the board.
  137.           Each line is of the form: F1 F2 AX BX CX DX W H C G P where:
  138.             *  F1 = 0 for 16 color modes, 1 for 256 color modes, > 1 for  Sierra
  139.                DAC modes (for Targa's only) as follows:
  140.                     2 => 15 bits/pixel (32,000 colors)
  141.                     3 => 16 bits/pixel (64,000 colors)
  142.                     4 => 24 bits/pixel (16,000,000 colors)
  143.             *  F2 = 0 for EGA (640x350x16) with 64 colors to choose from, and  1
  144.                for all others modes (which have 256,000 colors to choose from).
  145.             *  AX,BX,CX,DX  register values used to set this mode. Preceding the
  146.                numbers by 0x indicates hex; ie., 0x10 = 16.
  147.             *  W, H, C  are width, height, colors in this mode. For 24 bit modes
  148.                the colors field has the color order; 123=>BGR, 321=>RGB.
  149.           Additional Information if known
  150.             *  G is the bank granularity in Kbytes; for instance,  the  Paradise
  151.                has 4K banks.
  152.             *  P is the number of color planes; usually 1 for  256  color  modes
  153.                and 4 for 16 color modes. However, the ATI in 1024x768x16 and the
  154.                S3 in 800x600x16 and 1024x768x16 uses 1 plane and 2 pixels/byte.
  155.  
  156.           The modes amy be entered in any order, but listing all  the  VGA  (256
  157.           color) modes followed by the EGA (16 color)  modes,  followed  by  the
  158.           Sierra DAC modes makes sense, and the mode numbers can  be  determined
  159.           by looking at the configuration file.
  160.  
  161.           For specifying the mode N from the command line (/mN option for VPIC), the
  162.           mode numbers increase with increasing resolution and can be found from
  163.           the menu screen as follows:
  164.             *  The 256 color modes are numbered 1 thru 10 starting at 320x200.
  165.             *  The 16 color modes are numbered 11 thru 20 starting at 640x350.
  166.           If you are configured with the Sierra DAC, Targa's will be automatically
  167.           shown in 32K colors if you pick a resolution supported  by  the  board
  168.           for the Sierra DAC.
  169.  
  170.